home *** CD-ROM | disk | FTP | other *** search
/ Aminet 50 / Aminet 50 (2002)(GTI - Schatztruhe)[!][Aug 2002].iso / Aminet / text / misc / OneLine.lha / OneLine / Install_OneLine < prev    next >
Text File  |  2002-04-07  |  3KB  |  154 lines

  1. (set @app-name "OneLineGFX")
  2. (welcome "OneLineGFX 1.3  &  OneLineLIGHT 1.3L\n\nby  Vincenzo Barbarulo\nv. G.Mazzini  Cava de' Tirreni  (SA)\nITALY") (set s2 "irit")
  3.  
  4.  
  5. (set #Msg_wrong_OS           "\nOneLineGFX 1.3  isn't tested with your OS version!\n\nContinue?")
  6. (set #Msg_InstallOneLine     "Install OneLineGFX 1.3")
  7. (set #Msg_SelectPath          "Select the path for OneLineGFX executable\n(SYS:Tools/)")
  8. (set #Msg_LibraryInstall      "Copy ReqTools.library in LIBS: ?")
  9. (set #Msg_FontsInstall     "Copy Fonts in FONTS: ?")
  10. (set #Msg_DocInstall         "Copy OneLineGFX.doc in HELP: ?")
  11. (set #Msg_END_Install          "DONE!\n\nOneLineGFX 1.3  installed")
  12.  
  13. (set #OS_VER (/ (getversion) 65536) ) (set s1 "Sp")
  14.  
  15. (if(< #OS_VER 40)
  16.        (askbool 
  17.             (prompt #Msg_wrong_OS)
  18.             (help   #dir-help)
  19.           (default 1)
  20.         )
  21. )
  22.  
  23. (complete 20)
  24.  
  25.  (if (not (exists "SYS:Fonts"))
  26.  
  27.    (
  28.      (makedir "SYS:Fonts"
  29.        (prompt #dir-prompt)
  30.        (help   #dir-help)
  31.        (infos)
  32.      )
  33.     )
  34.  )
  35.  
  36. (complete 30)
  37.  
  38.  (if (not (exists "SYS:Libs"))
  39.  
  40.    (
  41.      (makedir "SYS:Libs"
  42.        (prompt #dir-prompt)
  43.        (help   #dir-help)
  44.        (infos)
  45.      )
  46.     )
  47.  )
  48.  
  49. (complete 40)
  50.  
  51.  (if (not (exists "SYS:C"))
  52.  
  53.    (
  54.      (makedir "SYS:C"
  55.        (prompt #dir-prompt)
  56.        (help   #dir-help)
  57.        (infos)
  58.      )
  59.     )
  60.  )
  61.  
  62. (complete 50)
  63.  
  64.  (if (< (exists "HELP:") 22)
  65.        (set #Msg_Help "SYS:")
  66.  )
  67.  
  68.  
  69. (copyfiles
  70.   (prompt #Msg_FontsInstall)
  71.   (help @copyfiles-help)
  72.   (source "RAM:OneLine/Fonts/")
  73.   (dest "SYS:Fonts/")
  74.   (all)
  75.   (confirm)
  76. )
  77.  
  78. (complete 60)
  79.  
  80. (copyfiles
  81.   (prompt #Msg_LibraryInstall)
  82.   (help @copyfiles-help)
  83.   (source "RAM:OneLine/Libs/")
  84.   (dest "SYS:Libs/")
  85.   (all)
  86.   (confirm)
  87. )
  88.  
  89. (complete 70)
  90.  
  91. (copyfiles
  92.   (prompt #Msg_DocInstall)
  93.   (help @copyfiles-help)
  94.   (source "RAM:OneLine/OneLine.doc")
  95.   (dest #Msg_Help)
  96.   (confirm)
  97. )
  98.  
  99. (copyfiles
  100.   (prompt #Msg_DocInstall)
  101.   (help @copyfiles-help)
  102.   (source "RAM:OneLine/OneLine.doc.info")
  103.   (dest #Msg_Help)
  104.   (confirm)
  105. )
  106.  
  107. (complete 80)
  108.  
  109. (set destdir
  110.     (askdir
  111.         (prompt #Msg_SelectPath)
  112.         (help @copyfiles-help)
  113.         (default "SYS:Tools/")
  114.     )
  115. )
  116.  
  117. (set @default-dest (expandpath destdir))
  118.  
  119. (copyfiles
  120.  
  121.       (prompt #Msg_Installing)
  122.       (help @copyfiles-help)
  123.       (source "RAM:OneLine/OneLine")
  124.       (dest destdir)
  125.       (all)
  126.       (confirm)
  127. )
  128.  
  129. (copyfiles
  130.   (prompt #Msg_Installing)
  131.   (help @copyfiles-help)
  132.   (source "RAM:OneLine/OneLine.info")
  133.   (dest destdir)
  134.   (confirm)
  135. )
  136.  
  137. (complete 90)
  138.  
  139. ; OneLine_LIGHT
  140. (copyfiles
  141.   (prompt #Msg_Installing)
  142.   (help @copyfiles-help)
  143.   (source "RAM:OneLine/OneLineLIGHT")
  144.   (dest "SYS:C/")
  145.   (confirm)
  146. )
  147.  
  148.  
  149. (run (safe) "Run <>NIL: SYS:Utilities/Multiview RAM:OneLine/OneLine.Readme")
  150.  
  151. (complete 100)
  152.  
  153. (exit #Msg_InstallOneLineGFX)
  154.